package com.thread;

/**
 * Created by Administrator on 2018/5/28.
 * https://msdn.microsoft.com/zh-cn/library/system.threading.thread(v=vs.110).aspx
 * https://www.cnblogs.com/renhui/p/6066852.html
 */
public class TestThreadDemo {

    public static void main(String[] args) {
        TestThread1 testThread1 = new TestThread1();
        TestThread2 testThread2 = new TestThread2();
        testThread1.start();
        testThread2.start();
//        Thread thread1 = new Thread(testThread1);
//        Thread thread2 = new Thread(testThread2);
//        thread1.start();
//        thread2.start();
    }
}
